package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.WeeklySectorData;

public interface WeeklySectorDataService {

	WeeklySectorData findById(int id);

	void saveWeeklySectorData(WeeklySectorData weeklySectorData);

	void deleteWeeklySectorData(int id);

	List<WeeklySectorData> findWeeklySectorData(int id);

	List<WeeklySectorData> searchWeeklySectorData(int sectorId, Date fromDate,
			Date toDate, String orderBy, String orderByName);

	Page<WeeklySectorData> searchWeeklySectorData(int sectorId, Date fromDate,
			Date toDate, String orderBy, String orderByName,
			GridPramDTO gridPramDTO);

	public void deleteWeeklySectorData(int sectorId, Date fromDate, Date toDate);
}
